package com.woniuxy.carlife.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author fx
 * @ClassName:ServiceRoyalty
 * @Description: 抽成规则实体类
 * @date 2021/4/6 20:00
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_service_royalty")
@ApiModel(value="ServiceRoyalty对象", description="")
public class ServiceRoyalty implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "主键、自增")
        @TableId(value = "royalty_rule_id", type = IdType.AUTO)
        private Integer royaltyRuleId;

        @ApiModelProperty(value = "规则名")
        private String royaltyRuleName;

        @ApiModelProperty(value = "规则详情介绍")
        private String royaltyRuleInfo;

        @ApiModelProperty(value = "对应服务类别id")
        private Integer serviceCategoryId;

        @ApiModelProperty(value = "平台抽成比率(小数)")
        private BigDecimal royaltyRatio;

        @ApiModelProperty(value = "规则状态(使用中/未使用/删除)")
        private String royaltyRuleStatus;

        @ApiModelProperty(value = "创建时间")
        private Date ruleCreateTime;

        @ApiModelProperty(value = "修改时间")
        private Date ruleUpdateTime;


}
